package com.pactera.asmp.server.vo;

import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @Title :
 * @Description:
 * @auther wanghao
 * @Date : -
 */
@Data
public class ExcelDataVo {

    private List<SheetData> sheetDataList = new ArrayList<>();
    private StatisticSheetData sheetData ;

    @Data
    public static class SheetData<T> {
        private String sheetName;
        private List<Map<String, Object>> rowList = new ArrayList<>();
        private List<T> reportRecords = new ArrayList<>();
    }

    @Data
    public static class StatisticSheetData<S> {
        private String sheetName;
        private List<Map<String, Object>> rowList = new ArrayList<>();
        private List<S> reportRecords = new ArrayList<>();
    }

}
